@import "~@/public-style.less";
.file-container{
    width: 100vw;
    height: 100vh;
    .header{
        width: 100%;
        height: 60px;
        background-color: rgb(255, 255, 255);
        display: flex;

        .header-left{
            width: 50%;
            height: 100%;
            display: flex;
            align-items: center;
            padding-left: 4%;
            box-sizing: border-box;
            .return{
                color:rgba(90,170,8,1);
                font-size: 18px;
                font-weight: bold;
                margin-right: 15px;
                cursor: pointer;
            }
            li{
                margin-right: 15px;
                cursor: pointer;
                &:hover{
                    color:rgba(90,170,8,1);
                }
            }
        }
        .header-right{
            width: 50%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            box-sizing: border-box;
            padding-right: 5%;
            .btn{
                margin-left: 20px;
                background-color: @foreground-color;
                padding:5px 12px;
                border-radius: 5px;
                color:#fff;
                cursor: pointer;
                box-shadow: 0px 0px 1px rgba(0,0,0,1);
                &:hover{
                    background-color: rgba(90,170,8,1);
                }
            }
        }
    }
    .file-content{
        position: relative;
        width: 100%;
        height: calc(100% - 60px);
        background-color: rgb(220, 221, 224);
        overflow-y: scroll;
        z-index: 10;
        .scrollbar();
        .title{
            position:absolute;
            left: 50%;
            top:0px;
            transform: translateX(-50%);
            z-index: 99999;
            width: 70%;
            height: 40px;
            min-width: 800px;
            display: flex;
            align-items: center;
            padding-left: 10px;
            box-sizing: border-box;
            background-color: #fff;
            border: 1px solid rgba(0,0,0,0.1);
            border-bottom: 1px solid transparent;
            span{
                font-weight: 500;
                font-size: 22px;
                &.icon-wendang{
                    color:rgba(108, 168, 132, 0.8);
                }
                &.icon-liuchengtu{
                    color:rgba(153, 104, 173, 0.8);
                }
                &.icon-biaoge{
                    color:rgba(115, 123, 174, 0.8);
                }
            }
            .file-name{
                width: 40%;
                font-size: 18px;
                margin-left: 5px;
                border:none;
                &:focus-visible{
                    outline: none;
                }
            }
        }
        #file-editor{
            position:absolute;
            left: 50%;
            transform: translateX(-50%);
            top:40px;
            width: 70%;
            min-width: 800px;
            height: calc(100% - 40px);
        }
        #brain-map{
            position: absolute;
            left: 0;
            top:40px;
            width: 100%;
            height: calc(100% - 40px);
        }
        #luckysheet{
            margin-top: 40px;
        }
    }
}